package com.bfs.anasit.service;

import com.bfs.anasit.model.AnasitRole;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: lukman
 * Date: 6/24/11
 * Time: 1:13 PM
 * To change this template use File | Settings | File Templates.
 */
public interface AnasitRoleService {
     /**
     * Get anasitRole with the associated patientId.
     *
     * @param Id- anasit Role ID
     * @return Patient object if provided patientId is
     *         found in the data repository, otherwise return null
     */
    public AnasitRole findById(Long Id);


    /**
     * Get all Anasit User objects.
     *
     * @return collection of Patient objects
     */
    public List<AnasitRole> findAllAnasitRoles();


    /**
     * Update the data repository with the
     * state of the provided anasitUser object.
     *
     * @param anasitRole Role object
     */
    public void update(AnasitRole anasitRole);


    /**
     * Remove the associated anasitUser
     * record from the data repository.
     *
     * @param anasitRole
     */
    public void delete(AnasitRole anasitRole);


    /**
     * Save the state of the provided
     * anasitUser object into the data
     * repository.
     *
     * @param anasitRole
     */
    public void save(AnasitRole anasitRole);
}
